﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeFile="GetOrderTracksByOrderID.aspx.cs" Inherits="Order_GetOrderTracksByOrderID" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="Server">
    <h2>
        订单轨迹查询</h2>
    <div>
        订单编号:<asp:TextBox ID="TextBox1" runat="server" MaxLength="10"></asp:TextBox>
        <asp:Button ID="Button1" runat="server" Text="查询" CssClass="marginleft" />
    </div>
    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
        DataSourceID="SqlDataSource1" CssClass="commongv">
        <Columns>
            <asp:BoundField DataField="Name" HeaderText="操作员" SortExpression="Name" />
            <asp:BoundField DataField="TrackTime" HeaderText="发生时间" 
                SortExpression="TrackTime" />
            <asp:BoundField DataField="step" HeaderText="订单步骤" ReadOnly="True" 
                SortExpression="step" />
            <asp:BoundField DataField="result" HeaderText="结果" ReadOnly="True" 
                SortExpression="result" />
            <asp:BoundField DataField="Remark" HeaderText="备注" 
                SortExpression="Remark" />
        </Columns>
    </asp:GridView>
    <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
        ConnectionString="<%$ ConnectionStrings:KOONCRMDB %>" 
        SelectCommand="Ordre_GetOrderTracksByOrderID" 
        SelectCommandType="StoredProcedure">
        <SelectParameters>
            <asp:ControlParameter ControlID="TextBox1" Name="orderID" PropertyName="Text" 
                Type="String" />
        </SelectParameters>
    </asp:SqlDataSource>
</asp:Content>
